package top.peng.springbootmongodb.dao;


import top.peng.springbootmongodb.entity.UserEntity;

/**
 * Created by summer on 2017/5/5.
 */
public interface UserDao  {

    void saveUser(UserEntity user);

    UserEntity findUserByUserName(String userName);

    long updateUser(UserEntity user);

    void deleteUserById(Long id);

}
